CFGLEAPSEC: Configure Leap Second
Applicable to: UC6580, UM620 series, UM621 series, UM670A, UM680A, UM681A
Read Leap Second Configuration
| Syntax | $CFGLEAPSEC |
|---|---|
| Example | $CFGLEAPSEC |
| Description | Read the leap second configuration |
| Input/Output | Input |
| No parameters |
Set/Output Leap Second
| Syntax | $CFGLEAPSEC,DefaultMode,NavBitsEnable,GpsLeapSec,BdsLeapSec, GalLeapSec,NavICLeapSec |
|
|---|---|---|
| Example | $CFGLEAPSEC,0,1,18,4,18,18 | |
| Description | Set/Output leap second configuration; you can only set the leap seconds of GPS, BDS, GAL and NavIC systems when the parameter DefaultMode = 1. |
|
| Input/Output | Input/Output | |
| Parameter Definition | ||
| Parameter | Format | Description |
| DefaultMode | UINT | 0 - default leap second in firmware 1 - leap second mode configured by user 2 - automatic calculation mode |
| NavBitsEnable | UINT | 0 - Do not use the leap second parsing from the message 1 - Use the leap second parsing from the message |
| GpsLeapSec | UINT | GPS leap second set by user |
| BdsLeapSec | UINT | BDS leap second set by user |
| GalLeapSec | UINT | GAL leap second set by user |
| IrnLeapSec | UINT | NavIC leap second set by user |